<?php /*
Create this table as output. Find the logic behind this and give the output.
*/
?>
<table border="1" cellspacing="0">
<?php
$a = array(1,2,3,4,5,6,7);$b = array(1,2,3,4,5,6,7);$c= count($a);
	for($i=0; $i<$c; $i++)
	{ ?>
	 <tr><?php
		for($j=0; $j<$c; $j++)
		{
		  $d = $a[$i]*$b[$j];?>
			<td style="padding-right:50px;"><?php 
				echo $d; ?>
			</td><?php
		}  ?>
	</tr><?php
   }
?>
</table>


